package com.mingloucct.payment_ws.dao;


import com.mingloucct.payment_ws.entity.Mlusers;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IMlusersDao {

    Mlusers loginMlusers(@Param("username")String username, @Param("password")String password, @Param("value")String value);
    Mlusers selectMlusers(@Param("username")String username);
    void editMlusers(@Param("username")String username,
                        @Param("realname")String realname,
                        @Param("mobile")String mobile,
                        @Param("notes")String notes,
                        @Param("createtime")String createtime);
    List<Mlusers> selectAll(@Param("username")String username);
    void changePermission(@Param("userid")int userid,
                          @Param("upload")String upload,
                          @Param("getfile")String getfile,
                          @Param("city")String city,
                          @Param("android")String android
    );
}
